package com.situ.day05;

import java.util.Scanner;

import org.junit.Test;

public class OOPDemo {
 
	

	
//	
//	@Test
//	public void test() {
//		Student student = new Student();
//		student.age = 21;
//		student.className = "java190703";
//		student.name = "张三";
//		student.id = 123;
//		student.study();
//	}
	 
	@Test
	public void test55() {
		Scanner scanner = new Scanner(System.in);
		int count = scanner.nextInt();
		Student[] students = new Student[count];
		for (int i = 0; i < students.length; i++) {
			Student student = new Student();
//			student.id = scanner.nextInt();
//			student.name = scanner.next();
			students [i] =student;
		}
		for (int i = 0; i < students.length; i++) {
			Student student = students[i];
//			
//			System.out.println(student.id);
//			System.out.println(student.name);
//			System.out.println(student.age);
//			System.out.println(student.className);
		}
	}
	
	
	
}
